﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KLY.DataModels
{
    public class SearchLineRequest
    {
        public string start_area { get; set; } //起点(省份码+城市码+00)eg: 370100 山东省济南市

        public string end_area { get; set; }

        public string heavy_cargo_price { get; set; }

        public string light_cargo_price { get; set; }

        public int page_no { get; set; }

        public int page_size { get; set; }
    }

    public class SearchLineResponse:BaseResponse
    {
        public SearchLineResult Result { get; set; }
    }

    public class SearchLineResult
    {
        public int total_count { get; set; }

        public SearchLine[] pub_list { get; set; }
    }

    public class SearchLine
    {
        public string owner_name { get; set; }
        public string owner_phone { get; set; }
        public string owner_id { get; set; }
        public string owner_phone1 { get; set; }
        public string Corp_Name { get; set; }
        public string line_pub_id { get; set; }
        public string Start_Area { get; set; }
        public string End_Area { get; set; }
        public int term_of_validity { get; set; }
        public decimal Light_Cargo_Price { get; set; }

        public decimal heavy_cargo_price { get; set; }
        public decimal Base_Price { get; set; }

    }
}
